package pojo.product;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

/**
 * @author Limohan
 */
public class AddProductProperty {
    StringProperty name = new SimpleStringProperty();
    StringProperty efficiency = new SimpleStringProperty();

    public AddProductProperty() {
    }

    public String getName() {
        return name.get();
    }

    public StringProperty nameProperty() {
        return name;
    }

    public void setName(String name) {
        this.name.set(name);
    }

    public String getEfficiency() {
        return efficiency.get();
    }

    public StringProperty efficiencyProperty() {
        return efficiency;
    }

    public void setEfficiency(String efficiency) {
        this.efficiency.set(efficiency);
    }
}
